package org.jeecg.modules.xxgx.fpjf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 销项发票交付记录
 * @Author: jeecg-boot
 * @Date:   2023-10-30
 * @Version: V1.0
 */
@Data
@TableName("cs_xx_jfjl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cs_xx_jfjl对象", description="销项发票交付记录")
public class CsXxJfjl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户编号*/
	@Excel(name = "租户编号", width = 15)
    @ApiModelProperty(value = "租户编号")
    private Integer tenantId;
	/**企业主键*/
	@Excel(name = "企业主键", width = 15)
    @ApiModelProperty(value = "企业主键")
    private String companyId;
	/**fpxx主表主键*/
	@Excel(name = "fpxx主表主键", width = 15)
    @ApiModelProperty(value = "fpxx主表主键")
    private String formid;
	/**发票代码*/
	@Excel(name = "发票代码", width = 15)
    @ApiModelProperty(value = "发票代码")
    private String fpdm;
	/**发票号码*/
	@Excel(name = "发票号码", width = 15)
    @ApiModelProperty(value = "发票号码")
    private String fphm;
	/**客户邮箱*/
	@Excel(name = "客户邮箱", width = 15)
    @ApiModelProperty(value = "客户邮箱")
    private String khlxyx;
	/**交付类型*/
	@Excel(name = "交付类型", width = 15)
    @ApiModelProperty(value = "交付类型")
    @Dict(dicCode = "xxfpjflx")
    private String jflx;
	/**客户手机*/
	@Excel(name = "客户手机", width = 15)
    @ApiModelProperty(value = "客户手机")
    private String khlxfs;
	/**交付时间*/
	@Excel(name = "交付时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "交付时间")
    private Date jfsj;

    /**短信唯一标识*/
    @Excel(name = "短信唯一标识", width = 15)
    @ApiModelProperty(value = "短信唯一标识")
    private String uid;

    /**短信内容*/
    @Excel(name = "短信内容", width = 15)
    @ApiModelProperty(value = "短信内容")
    private String dxnr;

    /**计费条数  70个字按一条自动计算*/
    @Excel(name = "计费条数", width = 15)
    @ApiModelProperty(value = "计费条数")
    private Integer jfts;

    /**是否成功*/
    @Excel(name = "是否成功", width = 15)
    @ApiModelProperty(value = "是否成功")
    @Dict(dicCode = "yn")
    private String sfcg;

    /**失败原因*/
    @Excel(name = "失败原因", width = 15)
    @ApiModelProperty(value = "失败原因")
    private String sbyy;
}
